<?php
if (!defined("ACCESS"))
    die("Access denied");
?>
<script type="text/javascript">
    $(function() {

    });

    function _dialog(id) {
        $('<div>').dialog2({
            autoOpen: true,
            title: "ข้อมูลเงินเดือน",
            content: "dlg.php?id=" + id,
            id: "modal-dlg",
            //	height:140
            //resizable: false,
            width: 2000
        });
    }
</script>

<?php
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
?>
<button onclick="javascript:_dialog(1)" class="btn btn-info">open dialog</button>

